#include "App.h"
#include "AppView.hpp"
#include "AppModel.hpp"
#include "AppPreferences.hpp"
#include "AppAction.hpp"

App::App(){}

App::App(AppView* view, AppModel* model, AppPreferences* pref, AppAction* action):
  _view(view),
  _model(model),
  _pref(pref),
  _action(action){
}

void App::setApp(AppView* view, AppModel* model, AppPreferences* pref, AppAction* action){
  _view = view;
  _model = model;
  _pref = pref;
  _action = action;
}

AppView* App::getView(){
  return _view;
}

AppModel* App::getModel(){
  return _model;
}

AppPreferences* App::getPreferences(){
  return _pref;
}

AppAction* App::getAction(){
  return _action;
}

App::~App(){

}
